<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <title>Welcome to HD</title>
    <%= javascript_include_tag :defaults %>
</head>
<body>
<div id="doc2" class="yui-t2">
    <% if logged_in? %>
        Logged in: <%= current_user.login %>
        | <%= link_to 'Logout', logout_path %>
    <% else %>
        <%= render :partial => "sessions/login_form" %>
    <% end %>

</div>

<div id="body">
    <%= yield %>
</div>

<div id="footer" class="box grad blue">@Copyright 2009, Here is footer</div>
</div>
</body>
</html>